﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CourseSystem.Common.Models
{
    public class LogOnModel
    {
        [DisplayName("学号")]
        [Required(ErrorMessage = "必须填写")]
        public string Account { get; set; }

        [DisplayName("密码")]
        [Required(ErrorMessage = "必须填写")]
        public string PassWord { get; set; }
    }
}